/**
 * @filename:SysConfig 2022年1月27日
 * @project Wonder wallet Framework  V1.0
 * Copyright(c) 2020 LuZhongren Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;


/**   
 * @Description:TODO(系统配置管理实体类)
 * 
 * @version: V1.0
 * @author: LuZhongren
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_config")
@ApiModel(value="config对象", description="系统配置管理表")
public class SysConfig extends Model<SysConfig> {

	private static final long serialVersionUID = 1643435334240L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
	private Integer id;
    
 	@TableField(value = "name")
	@ApiModelProperty(name = "name" , value = "配置名")
	private String name;
    
 	@TableField(value = "data")
	@ApiModelProperty(name = "data" , value = "配置值")
	private String data;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
}
